package com.xiaoxu.content.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author xiaoxu
 * @version 1.0
 * @description TODO
 * @date 2023/1/25 19:33
 */
@Data
@ApiModel(value="BindTeachplanMediaDto", description="教学计划-媒资绑定提交数据")
public class BindTeachplanMediaDto {
    @ApiModelProperty(value = "媒资文件id", required = true)
    @NotNull(message = "传入参数错误，媒资文件id不能为空")
    private Long mediaId;

    @ApiModelProperty(value = "媒资文件名称", required = true)
    private String fileName;

    @ApiModelProperty(value = "课程计划标识", required = true)
    @NotNull(message = "传入参数错误，课程计划Id不能为空")
    private Long teachplanId;

}
